home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Video Toaster 4.3
/
Video Toaster v4.3.iso
/
3.1
/
toasterall
/
arexx_examples
/
tpaint
/
pictile.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-05-13
|
1KB
|
31 lines
/* PicTile.rexx -- Tile Pic all over swap screen */
/* © 1993 NewTek, Inc. by Arnie Cachelin */
arg tiles
if tiles="" then TileVal="$0050"
else TileVal="$"||right(d2x(tiles),3,'0')||"0"
if pos('DigiPaint',show(ports))=0 then do
say "Can't find ToasterPaint!"
exit
end
Address "DigiPaint" /* Tell ARexx where commands go */
'Swap' /* Jump to (blank) swap screen! */
'Flon' /* Fill On */
'Bdel' /* Delete swap brush */
'Dotb' /* Delete any current cut-out brush */
'Drre' /* Draw Rectangles */
'Whsc'
'Undo' /* Un-draw solid rectangle */
'Rubi' /* Internal Rub-Thru on... use picture in swap screen as source */
'Txma' /* Texture mapping on, since there is no brush, it will use whole screen */
'Txva' TileVal
'Tyva' TileVal
'Redo' /* Re-draw rectangle, this time with texture map of swap screen */
'Flof' /* Fill off */
'Pmcl' /* Normal draw Mode */
'Shco' /* Render to composite out */
exit